
import './App.css';
import {HashRouter as Router, Route, Switch} from 'react-router-dom'
import PostData from './PostData';
import MainLayout from './MainLayout';

function App() {
  return (


    <Router>
      <Switch>
        <Route
          component={PostData}
          exact
          path='/postData'
        />
        <Route
          component={MainLayout}
          path='/'
        />
      </Switch>
    </Router>


  );
}

export default App;
